import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import ConferenceRoomList from '../views/Customer/ConferenceRoomList.vue'
import ConferenceRoomReservation from '../views/Customer/ConferenceRoomReservation.vue'
import ConferenceRoomDateTime from '../views/Customer/ConferenceRoomDateTime.vue'
import MyReservationList from '../views/Customer/MyReservationList.vue'
import MyReservationDetail from '../views/Customer/MyReservationDetail.vue'

import ExamineCRList from '../views/Manage/ExamineCRList.vue'
import ExamineCRDetail from '../views/Manage/ExamineCRDetail.vue'
import ExamineCRDateTime from '../views/Manage/ExamineCRDateTime.vue'
import ExamineCRDetailFinished from '../views/Manage/ExamineCRDetailFinished.vue'
import ExamineCRDateTimeFinished from '../views/Manage/ExamineCRDateTimeFinished.vue'

import ScheduleCRList from '../views/Schedule/ScheduleCRList.vue'
import ScheduleCRDetail from '../views/Schedule/ScheduleCRDetail.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  //管理端 会议室申请 客户申请列表-审批
  {
    path: '/ScheduleCRList',
    name: 'ScheduleCRList',
    component: ScheduleCRList
  },
  //管理端 会议室申请 客户申请详情-审批
  {
    path: '/ScheduleCRDetail',
    name: 'ScheduleCRDetail',
    component: ScheduleCRDetail
  },

  //管理端 会议室申请 客户申请列表-审批
  {
    path: '/ExamineCRList',
    name: 'ExamineCRList',
    component: ExamineCRList
  },
  //管理端 会议室申请 客户申请详情-审批-预定中
  {
    path: '/ExamineCRDetail',
    name: 'ExamineCRDetail',
    component: ExamineCRDetail
  },
   //管理端 会议室申请 客户申请详情-审批-预定成功
   {
    path: '/ExamineCRDetailFinished',
    name: 'ExamineCRDetailFinished',
    component: ExamineCRDetailFinished
  },
  //管理端 会议室申请 客户申请时间-审批-预定中
  {
    path: '/ExamineCRDateTime',
    name: 'ExamineCRDateTime',
    component: ExamineCRDateTime
  },
    //管理端 会议室申请 客户申请时间-审批-预定成功
    {
      path: '/ExamineCRDateTimeFinished',
      name: 'ExamineCRDateTimeFinished',
      component: ExamineCRDateTimeFinished
    },
  //服务端 会议室申请 会议室列表
  {
    path: '/ConferenceRoomList',
    name: 'ConferenceRoomList',
    component: ConferenceRoomList
  },
  //服务端 会议室申请 会议室申请页面
  {
    path: '/ConferenceRoomReservation',
    name: 'ConferenceRoomReservation',
    component: ConferenceRoomReservation
  },
  //服务端 会议室申请 时间选择页面
  {
    path: '/ConferenceRoomDateTime',
    name: 'ConferenceRoomDateTime',
    component: ConferenceRoomDateTime
  },
  //服务端 会议室申请 我的申请列表
  {
    path: '/MyReservationList',
    name: 'MyReservationList',
    component: MyReservationList
  },
  //服务端 会议室申请 我的申请详情
  {
    path: '/MyReservationDetail',
    name: 'MyReservationDetail',
    component: MyReservationDetail
  }
]

const router = new VueRouter({
  routes
})

export default router
